package com.gun.management.module.task.controller.admin.taskRewardLog.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 任务奖励日志信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class TaskRewardLogRespVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("编号")
    private Long id;

    @Schema(description = "任务id", example = "25")
    @ExcelProperty("任务id")
    private Long taskId;

    @Schema(description = "任务类型", example = "2")
    @ExcelProperty("任务类型")
    private Integer taskType;




    @Schema(description = "任务名称", example = "A计划推广任务")
    @ExcelProperty("任务名称")
    private String taskName;


    @Schema(description = "任务类型id", example = "1")
    @ExcelProperty("任务类型id")
    private Long categoryId;

    @Schema(description = "会员用户id", example = "286")
    @ExcelProperty("会员用户id")
    private Long userId;

    /**
     * 子会员用户id
     */
    @Schema(description = "子会员用户id", example = "2801")
    @ExcelProperty("子会员用户id")
    private Long subUserId;

    @Schema(description = "昵称", example = "JACK")
    @ExcelProperty("昵称")
    private String nickName;

    @Schema(description = "手机号码", example = "1380****1000")
    @ExcelProperty("手机号码")
    private String mobile;


    /**
     * 用户上传图片url(任务截图)
     */
    @Schema(description = "用户上传图片url(任务截图)", example = "http://****.com/images/test.png")
    @ExcelProperty("任务截图")
    private String taskScreenshot;

    @Schema(description = "奖励积分", example = "10")
    @ExcelProperty("奖励积分")
    private Integer rewardScore;

    @Schema(description = "奖励时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "2024-10-29")
    @ExcelProperty("奖励时间")
    private LocalDateTime rewardTime;

    @Schema(description = "已做任务总次数", example = "100")
    @ExcelProperty("已做任务总次数")
    private Integer totalTimes;

    @Schema(description = "每人每天已做任务次数", example = "2")
    @ExcelProperty("每人每天已做任务次数")
    private Integer dayTotalTimes;



    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}